<!-- 模态框（Modal） -->
<div class="modal fade" style="overflow-x: auto !important;" id="modalImage" tabindex="-1" role="dialog"
      aria-labelledby="myModalLabel" aria-hidden="true"  >
    <div id="modal" class="modal-dialog" style="margin-left:0em;width:0em;" >
        <img  onload="$('#modal').modal().css({'margin-left':(document.body.clientWidth
-this.width)<0?0:(document.body.clientWidth
-this.width)/2});" ng-src="{{component.modalImage.url}}" ng-click="component.modalImage.close();">
    </div><!-- /.modal -->
</div>